package top.yuzt.noticeserver.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import top.yuzt.noticeserver.entity.Messagefiles;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import top.yuzt.noticeserver.entity.Messages;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yuzt
 * @since 2024-05-07
 */
@Mapper
public interface MessagefilesMapper extends BaseMapper<Messagefiles> {
    @Select("SELECT * FROM Messagefiles WHERE MessageID = #{messageid}")
    List<Messagefiles> findByMessageID(Integer messageid);

}
